const language = {
  state: {
    language: 'en'
  },
  mutations: {
    setLanguage(state: any, language: string) {
      console.log('language:', language)
      state.language = language
      localStorage.setItem('locale', language)
    }
  }
}
export default language
